//配置对应路由
let express = require('express')
let router = express.Router()
let user = require('./api/user')
let list = require('./api/list')

router.get('/user',user.get)  //获取
router.get('/list/all',list.get)
router.get('/list/handleDelete',list.handleDelete)  //删除
router.get('/list/handleEdit',list.handleEdit)//修改
router.get('/list/addstu',list.addstu) //添加

module.exports=router